/*
 * @Author: your name
 * @Date: 2021-04-25 16:43:05
 * @LastEditTime: 2021-04-26 23:41:51
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jpowerWeb\src\api\guard.js
 */

import request from '@/utils/request'
const basePath = '/jpower-log'

export function guradList(params) {
  return request({
    url: basePath + '/monitor/log/list',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    method: 'get',
    params
  })
}

export function exportTable(params) {
  return request({
    url: basePath + '/monitor/log/export',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    responseType: 'blob',
    method: 'get',
    params
  })
}
